cmake_minimum_required(VERSION 2.8.3)
project(xf_voice)
find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
)
catkin_package()
include_directories(include ${catkin_INCLUDE_DIRS})

add_executable(xf_tts src/xf_tts.cpp)
target_link_libraries(xf_tts ${catkin_LIBRARIES} -lmsc  -ldl -lpthread -lm -lrt)
add_dependencies(xf_tts xf_voice_generate_messages_cpp)

add_executable(xf_asr src/xf_record.cpp src/linuxrec.cpp src/speech_recognizer.cpp)
target_link_libraries(xf_asr ${catkin_LIBRARIES} -lmsc  -ldl -lpthread -lrt -lasound)

add_executable(tuling_nlp src/tuling_nlp.cpp)
target_link_libraries(tuling_nlp ${catkin_LIBRARIES} -ljsoncpp -lcurl)



